package com.example.system.service.question;

import com.example.core.domain.TableDataInfo;
import com.example.system.domain.question.dto.QuestionAddDTO;
import com.example.system.domain.question.dto.QuestionEditDTO;
import com.example.system.domain.question.dto.QuestionQueryDTO;
import com.example.system.domain.question.vo.QuestionDetailVO;
import com.example.system.domain.question.vo.QuestionVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lily
 * Date: 2024-12-02
 * Time: 17:18
 */
public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

    Boolean add(QuestionAddDTO questionAddDTO);

    QuestionDetailVO detail(long questionId);

    int edit(QuestionEditDTO questionEditDTO);

    int delete(long questionId);
}
